package com.bsb.base.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BsbExpertQuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public BsbExpertQuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public BsbExpertQuExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("bsb_expert_qu.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("bsb_expert_qu.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("bsb_expert_qu.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("bsb_expert_qu.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("bsb_expert_qu.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("bsb_expert_qu.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("bsb_expert_qu.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("bsb_expert_qu.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNull() {
            addCriterion("bsb_expert_qu.question is null");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNotNull() {
            addCriterion("bsb_expert_qu.question is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionEqualTo(String value) {
            addCriterion("bsb_expert_qu.question =", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.question <>", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThan(String value) {
            addCriterion("bsb_expert_qu.question >", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.question >=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThan(String value) {
            addCriterion("bsb_expert_qu.question <", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.question <=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLike(String value) {
            addCriterion("bsb_expert_qu.question like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotLike(String value) {
            addCriterion("bsb_expert_qu.question not like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionIn(List<String> values) {
            addCriterion("bsb_expert_qu.question in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.question not in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.question between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.question not between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("bsb_expert_qu.userId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("bsb_expert_qu.userId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("bsb_expert_qu.userId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.userId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("bsb_expert_qu.userId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.userId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("bsb_expert_qu.userId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.userId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("bsb_expert_qu.userId like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("bsb_expert_qu.userId not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("bsb_expert_qu.userId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.userId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.userId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.userId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNull() {
            addCriterion("bsb_expert_qu.areaId is null");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNotNull() {
            addCriterion("bsb_expert_qu.areaId is not null");
            return (Criteria) this;
        }

        public Criteria andAreaIdEqualTo(String value) {
            addCriterion("bsb_expert_qu.areaId =", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.areaId <>", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThan(String value) {
            addCriterion("bsb_expert_qu.areaId >", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.areaId >=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThan(String value) {
            addCriterion("bsb_expert_qu.areaId <", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.areaId <=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLike(String value) {
            addCriterion("bsb_expert_qu.areaId like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotLike(String value) {
            addCriterion("bsb_expert_qu.areaId not like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIn(List<String> values) {
            addCriterion("bsb_expert_qu.areaId in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.areaId not in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.areaId between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.areaId not between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andTradeIsNull() {
            addCriterion("bsb_expert_qu.trade is null");
            return (Criteria) this;
        }

        public Criteria andTradeIsNotNull() {
            addCriterion("bsb_expert_qu.trade is not null");
            return (Criteria) this;
        }

        public Criteria andTradeEqualTo(String value) {
            addCriterion("bsb_expert_qu.trade =", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.trade <>", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThan(String value) {
            addCriterion("bsb_expert_qu.trade >", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.trade >=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThan(String value) {
            addCriterion("bsb_expert_qu.trade <", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.trade <=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLike(String value) {
            addCriterion("bsb_expert_qu.trade like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotLike(String value) {
            addCriterion("bsb_expert_qu.trade not like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeIn(List<String> values) {
            addCriterion("bsb_expert_qu.trade in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.trade not in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.trade between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.trade not between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andTaxIsNull() {
            addCriterion("bsb_expert_qu.tax is null");
            return (Criteria) this;
        }

        public Criteria andTaxIsNotNull() {
            addCriterion("bsb_expert_qu.tax is not null");
            return (Criteria) this;
        }

        public Criteria andTaxEqualTo(String value) {
            addCriterion("bsb_expert_qu.tax =", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.tax <>", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThan(String value) {
            addCriterion("bsb_expert_qu.tax >", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.tax >=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThan(String value) {
            addCriterion("bsb_expert_qu.tax <", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.tax <=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLike(String value) {
            addCriterion("bsb_expert_qu.tax like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotLike(String value) {
            addCriterion("bsb_expert_qu.tax not like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxIn(List<String> values) {
            addCriterion("bsb_expert_qu.tax in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.tax not in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.tax between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.tax not between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTopicIsNull() {
            addCriterion("bsb_expert_qu.topic is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsNotNull() {
            addCriterion("bsb_expert_qu.topic is not null");
            return (Criteria) this;
        }

        public Criteria andTopicEqualTo(String value) {
            addCriterion("bsb_expert_qu.topic =", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.topic <>", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThan(String value) {
            addCriterion("bsb_expert_qu.topic >", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.topic >=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThan(String value) {
            addCriterion("bsb_expert_qu.topic <", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.topic <=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLike(String value) {
            addCriterion("bsb_expert_qu.topic like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotLike(String value) {
            addCriterion("bsb_expert_qu.topic not like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicIn(List<String> values) {
            addCriterion("bsb_expert_qu.topic in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.topic not in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.topic between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.topic not between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andAskPriceIsNull() {
            addCriterion("bsb_expert_qu.askPrice is null");
            return (Criteria) this;
        }

        public Criteria andAskPriceIsNotNull() {
            addCriterion("bsb_expert_qu.askPrice is not null");
            return (Criteria) this;
        }

        public Criteria andAskPriceEqualTo(Double value) {
            addCriterion("bsb_expert_qu.askPrice =", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceNotEqualTo(Double value) {
            addCriterion("bsb_expert_qu.askPrice <>", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceGreaterThan(Double value) {
            addCriterion("bsb_expert_qu.askPrice >", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("bsb_expert_qu.askPrice >=", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceLessThan(Double value) {
            addCriterion("bsb_expert_qu.askPrice <", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceLessThanOrEqualTo(Double value) {
            addCriterion("bsb_expert_qu.askPrice <=", value, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceIn(List<Double> values) {
            addCriterion("bsb_expert_qu.askPrice in", values, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceNotIn(List<Double> values) {
            addCriterion("bsb_expert_qu.askPrice not in", values, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceBetween(Double value1, Double value2) {
            addCriterion("bsb_expert_qu.askPrice between", value1, value2, "askPrice");
            return (Criteria) this;
        }

        public Criteria andAskPriceNotBetween(Double value1, Double value2) {
            addCriterion("bsb_expert_qu.askPrice not between", value1, value2, "askPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceIsNull() {
            addCriterion("bsb_expert_qu.quPrice is null");
            return (Criteria) this;
        }

        public Criteria andQuPriceIsNotNull() {
            addCriterion("bsb_expert_qu.quPrice is not null");
            return (Criteria) this;
        }

        public Criteria andQuPriceEqualTo(Double value) {
            addCriterion("bsb_expert_qu.quPrice =", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceNotEqualTo(Double value) {
            addCriterion("bsb_expert_qu.quPrice <>", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceGreaterThan(Double value) {
            addCriterion("bsb_expert_qu.quPrice >", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("bsb_expert_qu.quPrice >=", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceLessThan(Double value) {
            addCriterion("bsb_expert_qu.quPrice <", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceLessThanOrEqualTo(Double value) {
            addCriterion("bsb_expert_qu.quPrice <=", value, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceIn(List<Double> values) {
            addCriterion("bsb_expert_qu.quPrice in", values, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceNotIn(List<Double> values) {
            addCriterion("bsb_expert_qu.quPrice not in", values, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceBetween(Double value1, Double value2) {
            addCriterion("bsb_expert_qu.quPrice between", value1, value2, "quPrice");
            return (Criteria) this;
        }

        public Criteria andQuPriceNotBetween(Double value1, Double value2) {
            addCriterion("bsb_expert_qu.quPrice not between", value1, value2, "quPrice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("bsb_expert_qu.status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("bsb_expert_qu.status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("bsb_expert_qu.status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("bsb_expert_qu.status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("bsb_expert_qu.status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("bsb_expert_qu.status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("bsb_expert_qu.status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("bsb_expert_qu.status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("bsb_expert_qu.reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("bsb_expert_qu.reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("bsb_expert_qu.reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("bsb_expert_qu.reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("bsb_expert_qu.reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("bsb_expert_qu.reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("bsb_expert_qu.reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("bsb_expert_qu.reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andApproveNumIsNull() {
            addCriterion("bsb_expert_qu.approveNum is null");
            return (Criteria) this;
        }

        public Criteria andApproveNumIsNotNull() {
            addCriterion("bsb_expert_qu.approveNum is not null");
            return (Criteria) this;
        }

        public Criteria andApproveNumEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.approveNum =", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.approveNum <>", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumGreaterThan(Integer value) {
            addCriterion("bsb_expert_qu.approveNum >", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.approveNum >=", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumLessThan(Integer value) {
            addCriterion("bsb_expert_qu.approveNum <", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumLessThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.approveNum <=", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.approveNum in", values, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.approveNum not in", values, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.approveNum between", value1, value2, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.approveNum not between", value1, value2, "approveNum");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("bsb_expert_qu.delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("bsb_expert_qu.delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("bsb_expert_qu.delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("bsb_expert_qu.delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("bsb_expert_qu.delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("bsb_expert_qu.delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("bsb_expert_qu.delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("bsb_expert_qu.delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("bsb_expert_qu.createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("bsb_expert_qu.createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("bsb_expert_qu.createDate =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("bsb_expert_qu.createDate <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("bsb_expert_qu.createDate >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("bsb_expert_qu.createDate >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("bsb_expert_qu.createDate <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("bsb_expert_qu.createDate <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("bsb_expert_qu.createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("bsb_expert_qu.createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("bsb_expert_qu.createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("bsb_expert_qu.createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("bsb_expert_qu.updateBy is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("bsb_expert_qu.updateBy is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("bsb_expert_qu.updateBy =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("bsb_expert_qu.updateBy <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("bsb_expert_qu.updateBy >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.updateBy >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("bsb_expert_qu.updateBy <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("bsb_expert_qu.updateBy <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("bsb_expert_qu.updateBy like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("bsb_expert_qu.updateBy not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("bsb_expert_qu.updateBy in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("bsb_expert_qu.updateBy not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.updateBy between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("bsb_expert_qu.updateBy not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("bsb_expert_qu.updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("bsb_expert_qu.updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("bsb_expert_qu.updateDate =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("bsb_expert_qu.updateDate <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("bsb_expert_qu.updateDate >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("bsb_expert_qu.updateDate >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("bsb_expert_qu.updateDate <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("bsb_expert_qu.updateDate <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("bsb_expert_qu.updateDate in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("bsb_expert_qu.updateDate not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("bsb_expert_qu.updateDate between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("bsb_expert_qu.updateDate not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andClickNumIsNull() {
            addCriterion("bsb_expert_qu.clickNum is null");
            return (Criteria) this;
        }

        public Criteria andClickNumIsNotNull() {
            addCriterion("bsb_expert_qu.clickNum is not null");
            return (Criteria) this;
        }

        public Criteria andClickNumEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.clickNum =", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.clickNum <>", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumGreaterThan(Integer value) {
            addCriterion("bsb_expert_qu.clickNum >", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.clickNum >=", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumLessThan(Integer value) {
            addCriterion("bsb_expert_qu.clickNum <", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumLessThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.clickNum <=", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.clickNum in", values, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.clickNum not in", values, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.clickNum between", value1, value2, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.clickNum not between", value1, value2, "clickNum");
            return (Criteria) this;
        }

        public Criteria andFirmIdIsNull() {
            addCriterion("bsb_expert_qu.firmId is null");
            return (Criteria) this;
        }

        public Criteria andFirmIdIsNotNull() {
            addCriterion("bsb_expert_qu.firmId is not null");
            return (Criteria) this;
        }

        public Criteria andFirmIdEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.firmId =", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.firmId <>", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdGreaterThan(Integer value) {
            addCriterion("bsb_expert_qu.firmId >", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.firmId >=", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdLessThan(Integer value) {
            addCriterion("bsb_expert_qu.firmId <", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdLessThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.firmId <=", value, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.firmId in", values, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.firmId not in", values, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.firmId between", value1, value2, "firmId");
            return (Criteria) this;
        }

        public Criteria andFirmIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.firmId not between", value1, value2, "firmId");
            return (Criteria) this;
        }

        public Criteria andBuyNumIsNull() {
            addCriterion("bsb_expert_qu.buyNum is null");
            return (Criteria) this;
        }

        public Criteria andBuyNumIsNotNull() {
            addCriterion("bsb_expert_qu.buyNum is not null");
            return (Criteria) this;
        }

        public Criteria andBuyNumEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.buyNum =", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumNotEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.buyNum <>", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumGreaterThan(Integer value) {
            addCriterion("bsb_expert_qu.buyNum >", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.buyNum >=", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumLessThan(Integer value) {
            addCriterion("bsb_expert_qu.buyNum <", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumLessThanOrEqualTo(Integer value) {
            addCriterion("bsb_expert_qu.buyNum <=", value, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.buyNum in", values, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumNotIn(List<Integer> values) {
            addCriterion("bsb_expert_qu.buyNum not in", values, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.buyNum between", value1, value2, "buyNum");
            return (Criteria) this;
        }

        public Criteria andBuyNumNotBetween(Integer value1, Integer value2) {
            addCriterion("bsb_expert_qu.buyNum not between", value1, value2, "buyNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}